export default {
    data: {
        autoplay: true, // 是否自动播放
        videoId: 'video', // 播放器id
        url: '/common/videos/video1.mp4', // 视频地址
        controlShow: false, // 是否显示控制栏
        isFullScreenChange: true, // 是否全屏
        startTime:0,
        direction:"horizontal",
    },
    prepared(){
        this.$element("video").requestFullscreen({ screenOrientation : 'default' });
    },
    hideControls() {
        this.controlShow = !this.controlShow;
    },
}
